package cn.eonshine.cuba.inf.modular.sys.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.eonshine.cuba.inf.modular.sys.entity.Dict;


/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2017-07-11
 */
public interface DictMapper extends BaseMapper<Dict> {

	/**
	 * 
	 * @param code dict code
	 * @return get dict list
	 */
    List<Dict> selectByCode(@Param("code") String code);

    /**
     * get dict list
     * @param conditiion query conditiion
     * @return dict list
     */
    List<Map<String, Object>> list(@Param("condition") String conditiion);
}